﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace GodofTroll
{
    class Abertura
    {
        public Game1 game1;
        public Texture2D aberturaTextura;
        public Vector2 aberturaPosicao;
        public Rectangle aberturaRectangle;

        public Abertura(Texture2D text , Rectangle rec)
        {
            
            text = aberturaTextura;
            rec = aberturaRectangle;

            
        }

        public void aberturaLoad()
        {
           // aberturaTextura = game1.Content.Load<Texture2D>("Telas\\fundopreto");
        }

        public void aberturaDraw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(aberturaTextura, Vector2.Zero, aberturaRectangle, Color.White);
        }
    }
}
